-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix paths documentation #1330
Fix paths documentation #1330
Conversation
Configure Renovate
@@ -583,9 +583,17 @@ Another option for using `ConfigMap` instances is to mount them into the Pod by | |||
and having Spring Cloud Kubernetes read them from the file system. | |||
This behavior is controlled by the `spring.cloud.kubernetes.config.paths` property. You can use it in | |||
addition to or instead of the mechanism described earlier. | |||
You can specify multiple (exact) file paths in `spring.cloud.kubernetes.config.paths` by using the `,` delimiter. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The problem is in this sentence:
You can specify multiple (exact) file paths in
spring.cloud.kubernetes.config.paths
by using the,
delimiter.
It was probably left in the documentation from an older implementation, because right now, this is expected to be a List<String>
:
@ConfigurationProperties(ConfigMapConfigProperties.PREFIX)
public record ConfigMapConfigProperties(....@DefaultValue List<String> paths, ...
You can look in ConfigMapPropertySourceLocator::addPropertySourcesFromPaths
also, if needed.
@ryanjbaxter minor thing that resulted of a bug investigation |
No description provided.